#ifndef _COLLECTACTVITY_H_
#define _COLLECTACTVITY_H_
/*
#include "MgrBase.h"
#include "SimpleRefection.h"
class CollectFormulaDef;
class CollectActvity:public ReflectionBase
{
	DECL_REFLECTION(CollectActvity,"../../config/CollectActvity.xml");
public:
	int32			m_iID;
	std::string		m_sDisplayName;

	bool m_bActive;
	std::vector<int32> m_vFormualIDs;
	
	std::string  m_sFromDate;
	int32 m_iFromHour;
	std::string m_sToDate;
	int32 m_iToHour;

	
	time_t m_iFromDateTime;
	time_t m_iToDateTime;
	

	bool IsInTime() const;
	rewrite virtual void OnArchieveReaded();
	const std::vector<const CollectFormulaDef*>& GetFormalDefs()const { return m_vFormualDefs;}
	bool CheckRecipeValid(CollectID) const ;
private:
	std::vector<const CollectFormulaDef*> m_vFormualDefs;
	std::set<CollectID> m_setRecipes;
};

typedef DefMangerTpl<CollectActvity> __CollectActvityManager; //eDefaultDef_Num
class CollectActvityManager:public __CollectActvityManager
{
public:
	static CollectActvityManager& Instance(){static CollectActvityManager _instance;return _instance;	}
	virtual void OnArchieveReaded();
	const CollectActvity * GetCollectActvity(){ return m_pRecentActivity;}
private:
	CollectActvityManager(){}	
	const CollectActvity * m_pRecentActivity;
};
*/
#endif
/////////////////////////////////////////
